package in.muton.edushare.pages.cp;

import in.muton.edushare.academics.panels.UnivGradeKeyPanel;
import in.muton.edushare.auth.roles.UnivRoleCheck;

import org.apache.wicket.model.IModel;

import com.edushare.common.vo.Universities;

public class UnivGradingPage extends CPBase {

	public UnivGradingPage(IModel<Universities> univModel) {
		super(univModel, 2);
		add(new UnivGradeKeyPanel("gradingPanel", univModel, this));
	}

	@Override
	public String getPageTitle() {
		return "Grading System";
	}

	@Override
	public String getUserRole() {
		return " : "
				+ new UnivRoleCheck(univModel.getObject(), getLoggedInUser())
						.getRoleAsString();
	}
}
